docs: Document per-app Python version selection for Flash#618
docs: Document per-app Python version selection for Flash#618
Conversation
- Add --python-version flag to flash build and flash deploy CLI references - Add python_version parameter to endpoint configuration parameters - Update Python version requirements from "3.12" to "3.10, 3.11, or 3.12" across all Flash docs - Document cold-start implications (~7 GB overhead for non-3.12 versions) - Update troubleshooting section for supported Python versions
| @@ -90,9 +94,21 @@ Flash automatically handles cross-platform builds: | |||
|
|
|||
| ### Python version in deployed workers | |||
There was a problem hiding this comment.
Added Python version selection documentation based on PR #322 which introduces per-app python_version config and --python-version CLI flag for flash build and flash deploy. The PR's constants.py defines supported versions (3.10, 3.11, 3.12) and manifest.py implements version reconciliation logic.
Source: runpod/flash#322
| Valid CUDA versions: `CudaVersion.V11_1`, `V11_4`, `V11_7`, `V11_8`, `V12_0`, `V12_1`, `V12_2`, `V12_3`, `V12_4`, `V12_6`, `V12_8` (or equivalent strings like `"12.4"`). Invalid values raise a `ValueError`. | ||
| </Note> | ||
|
|
||
| ### python_version |
There was a problem hiding this comment.
Added python_version parameter documentation from PR #322. The PR's manifest.py:221-225 extracts python_version from resource configs, and cold-start overhead (~7 GB for 3.10/3.11) is noted in docs/Flash_Deploy_Guide.md within the PR.
Source: runpod/flash#322
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Updates documentation to reflect changes from runpod/flash PR #330: - Add Python 3.13 to supported versions (3.10, 3.11, 3.12, 3.13) - Document new default behavior: matches local Python version instead of hardcoding 3.12 - Update resolution order: CLI flag → resource config → local interpreter - Add breaking change warning about deploy behavior change - Update cold-start table with 3.13 - Document actionable error for unsupported Python versions (3.9, 3.14)
|
Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.) |
Open this suggestion in Promptless to view citations and reasoning process
Documents the new Python version selection feature for Flash apps. Adds --python-version CLI flag to build/deploy commands, python_version endpoint parameter, and updates requirements to support Python 3.10, 3.11, and 3.12 (with cold-start implications for non-3.12 versions).
Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗